package com.ruoyi.tzai.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公司信息对象 sys_company
 * 
 * @author tzai
 * @date 2025-10-27
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司ID */
    private Long companyId;

    /** 公司代码(如:AAPL) */
    @Excel(name = "公司代码")
    private String companyCode;

    /** 公司中文名称 */
    @Excel(name = "公司中文名称")
    private String companyNameCn;

    /** 公司英文名称 */
    @Excel(name = "公司英文名称")
    private String companyNameEn;

    /** 行业 */
    @Excel(name = "行业")
    private String industry;

    /** 公司描述 */
    @Excel(name = "公司描述")
    private String description;

    /** 状态(0正常 1停用) */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setCompanyCode(String companyCode) 
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode() 
    {
        return companyCode;
    }

    public void setCompanyNameCn(String companyNameCn) 
    {
        this.companyNameCn = companyNameCn;
    }

    public String getCompanyNameCn() 
    {
        return companyNameCn;
    }

    public void setCompanyNameEn(String companyNameEn) 
    {
        this.companyNameEn = companyNameEn;
    }

    public String getCompanyNameEn() 
    {
        return companyNameEn;
    }

    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyCode", getCompanyCode())
            .append("companyNameCn", getCompanyNameCn())
            .append("companyNameEn", getCompanyNameEn())
            .append("industry", getIndustry())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}

